package com.xmtlxx.oms.service.impl;

import com.xmtlxx.oms.mapper.BiMapper;
import com.xmtlxx.oms.service.IBiService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Slf4j
@RequiredArgsConstructor
@Service
public class BiServiceImpl implements IBiService {

    private final BiMapper biMapper;

    @Override
    public List<Map<String, Object>> selectCountStagings() {
        return biMapper.selectCountStagings();
    }

    @Override
    public List<Map<String, Object>> selectCountStock() {
        return biMapper.selectCountStock();
    }

    @Override
    public Map<String, Object> selectCountOrder() {
        return biMapper.selectCountOrder();
    }

    @Override
    public Map<String, Object> selectCountInOuts() {
        return biMapper.selectCountInOuts();
    }

    @Override
    public Map<String, Object> selectCountInNumsOuts() {
        return biMapper.selectCountInNumsOuts();
    }

    @Override
    public Map<String, Object> selectCountSigns() {
        return biMapper.selectCountSigns();
    }

    @Override
    public List<Map<String, Object>> selectCountInNumsOutsByGroup() {
        return biMapper.selectCountInNumsOutsByGroup();
    }

    @Override
    public List<Map<String, Object>> selectCountDeal() {
        return biMapper.selectCountDeal();
    }

    @Override
    public Map<String, Object> selectCountLocator(String code) {
        return biMapper.selectCountLocator(code);
    }

    @Override
    public List<Map<String, Object>> selectCountLocatorTypes() {
        return biMapper.selectCountLocatorTypes();
    }

    @Override
    public Map<String, Object> selectCountLocatorByStoreHouse(String storeHouse) {
        return biMapper.selectCountLocatorByStoreHouse(storeHouse);
    }

    @Override
    public Map<String, Object> selectNumsOuts() {
        return biMapper.selectNumsOuts();
    }

    @Override
    public Map<String,Object> selectNumsOutsDeal(){
        return biMapper.selectNumsOutsDeal();
    }

    @Override
    public Map<String, Object> selectReceive() {
        return biMapper.selectReceive();
    }

    @Override
    public Map<String, Object> selectBiDataOfInmus() {
        return biMapper.selectBiDataOfInmus();
    }

    @Override
    public Map<String, Object> selectBiDataOfOutmus() {
        return biMapper.selectBiDataOfOutmus();
    }

    @Override
    public Map<String, Object> selectBiData5OfOutmus() {
        return biMapper.selectBiData5OfOutmus();
    }

}
